//
//  SoundManager.h
//  Frog Jump
//
//  Created by Tri Vo on 7/25/13.
//
//

#ifndef __Frog_Jump__SoundManager__
#define __Frog_Jump__SoundManager__

#include <iostream>
#include "cocos2d.h"
#include "SimpleAudioEngine.h"
#include "GeneralDef.h"

class SoundManager {
    
    SoundManager() {
        
    };
    
    static SoundManager *mInstance;
public:
    ~SoundManager();
    SoundManager *getInstance();
    void playSound(const char* pFileName, bool isLoop);
    void playBGM(const char* pFileName, bool isLoop);
    void stopAllMusic();
    void stopAllSound();
};

#endif /* defined(__Frog_Jump__SoundManager__) */
